package cn.sh.yhk.vo;

import java.util.List;

/**
 * Created with IDEA
 * author:Yhk
 * Date:2019/1/4
 * Time:9:22 AM
 */
public class PageVo {
    private Long code;
    private String msg;
    private Long count;
    private List<Object> data;

    public PageVo(Long code, String msg, Long count, List<Object> data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public PageVo(Long count, List<Object> data) {
        this.count = count;
        this.data = data;
        this.code = 0L;
        this.msg = "";
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<Object> getData() {
        return data;
    }

    public void setData(List<Object> data) {
        this.data = data;
    }
}
